<%@ page contentType="text/html; charset=UTF-8"%>
<%@taglib prefix="menu" tagdir="/WEB-INF/tags/menu"%>
<%@ taglib prefix="sec"
	uri="http://www.springframework.org/security/tags"%>
<div id="menu">
	<menu:menu id="_menu" z="nZaf43BjUg1iM0v70HJVEsXDopc=">
		<sec:authorize access="isAuthenticated()">
			<menu:category id="c_income" z="0KToqq9E5eZ2guIoIm83/PaznSY=">
				<menu:item id="i_income_new" messageCode="global_menu_new"
					url="/incomes?form" z="j4I++aeTKykQf7vWk2J/+7hUzfg=" />
				<menu:item id="i_income_list" messageCode="global_menu_list"
					url="/incomes?page=1&amp;size=${empty param.size ? 10 : param.size}"
					z="1diLzdqbbofV59c0Tdj7XTCi7/o=" />
			</menu:category>
			<menu:category id="c_expense" z="">
				<menu:item id="i_expense_new" messageCode="global_menu_new"
					url="/expenses?form" z="" />
				<%-- <menu:item id="i_expense_list" messageCode="global_menu_list"
					url="/expenses?page=1&amp;size=${empty param.size ? 10 : param.size}"
					z="" /> --%>
			</menu:category>
		</sec:authorize>
		<sec:authorize access="isAnonymous()">
			<menu:category id="c_login" z="">
				<menu:item url="/login" id="i_login"
					messageCode="security_menu_login" />
				<menu:item url="/clients" id="i_create_account"
					messageCode="client_menu_create_account" />
			</menu:category>
		</sec:authorize>
	</menu:menu>
</div>